package com.ruoyi.hr.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审核对象 hr_check
 *
 * @author ruoyi
 * @date 2024-08-12
 */
@Data
public class HrCheck extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Long id;

	/** 用户id */
	@Excel(name = "用户id")
	private Long uid;

	/** 简历id */
	@Excel(name = "简历id")
	private Long resumeId;

	/** 审核状态, 0 未审核 | 1 审核通过 | 2 审核不通过, 此时会修改状态为驳回状态(对原来那个简历状态进行取相反数操作) */
	@Excel(name = "审核状态, 0 未审核 | 1 审核通过 | 2 审核不通过, 此时会修改状态为驳回状态(对原来那个简历状态进行取相反数操作)")
	private Integer isCheck;

	/** 检查类型, 1简历审核 | 2录用审核 */
	@Excel(name = "检查类型, 1简历审核 | 2录用审核")
	private Integer type;


	@Override
	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId())
				.append("uid", getUid())
				.append("resumeId", getResumeId())
				.append("isCheck", getIsCheck())
				.append("type", getType())
				.append("updateTime", getUpdateTime())
				.append("createTime", getCreateTime())
				.toString();
	}
}

